# -*- coding:utf8 -*-
""" some help

"""
from django.db import models as M
from settings import ROOT, DEGREE
import os

# Create your models here.

UPLOAD_TO = os.path.join('apps', 'video', 'video', DEGREE)
class Video(M.Model):
    upload_filename = M.CharField(max_length=128)
    flv_file = M.FileField(upload_to=UPLOAD_TO)
